<%@ page import="java.util.*" %>
<%@ page import="com.ea.model.*" %>
<%@ page import="java.text.SimpleDateFormat" %>

<%@ include file="/jsp/htmlheader.jsp" %>
<%@ include file="/jsp/analytics.jsp" %>


<body>
<div id="wrapper">
	<%@ include file="/jsp/header.jsp" %>
	<%@ include file="/jsp/menu.jsp" %>
	<div id="content">
	
		<% 
		SimpleDateFormat formatter = new SimpleDateFormat("EEE, MMM d, yyyy");

		Article a = (Article)request.getAttribute("article");
		
		String d = formatter.format(a.date);

		String htmlString = a.article.getValue();

		out.println("<h2>"+ a.title + "</h2>");
		out.println("<strong>" + d + "</strong>" );
		out.println("<br>" + "<strong>Keywords : </strong>" +a.keywords);
		out.println( htmlString);

		
	%>
	</div>
	<%@ include file="/jsp/footer.jsp" %>
</div>
</body>
</html>	